import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import actions from './actions'

Vue.use(Vuex)

const state = {
    // user: [{
    //     "id": '5761375254556672',
    //     "password": 'zajg',
    //     "username": "请喊我文刀",
    //     "phone": "15383416243"
    // }],
    user: [],
    carList: []
}

export default new Vuex.Store({
    state,
    mutations,
    actions,
    modules: {

    }
})
